﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.master" AutoEventWireup="true" CodeFile="CatalogoSegmentacion.aspx.cs" Inherits="CatalogoSegmentacion" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <form id="empleado" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>

        <ul class="tabs">
            <li><a href="#tab1">Zonas</a></li>
            <li><a href="#tab2">Regiones</a></li>
            <li><a href="#tab3">Sectores</a></li>          
            <li><a href="#tab4">Tamaños</a></li>    
            <li><a href="#tab5">Servicios</a></li>    
        </ul>

     <div class="tab_container">
         <div id="tab1" class="tab_content">
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
            <table>
                <tr>
                    <td>

                    <asp:GridView ID="grdDatos" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="ZonasId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="ZonasId" 
                             HeaderText=" No. "
                             SortExpression="ZonasId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripción"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                      
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoZona" runat="server" onclick="lnkNuevoZona_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarZona" runat="server" onclick="lnkEliminarZona_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarZona" runat="server" onclick="lnkEditarZona_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Descripción:</label></td>
                              <td colspan="3" align="left">
                                  <asp:TextBox ID="txtDescripcionZona" runat="server" Height="23px" Width="348px" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarZona" runat="server" onclick="lnkGuardarZona_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>

                    </td>
                </tr>
                <tr>
                    <td>
                      <asp:GridView ID="grdDatos1" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="DetalleZonasId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos1_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos1_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="DetalleZonasId" 
                             HeaderText=" No. "
                             SortExpression="DetalleZonasId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Ciudad" 
                             HeaderText="Ciudad"
                             SortExpression="Ciudad" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Municipio" 
                             HeaderText="Municipio"
                             SortExpression="Municipio" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Estado" 
                             HeaderText="Estado"
                             SortExpression="Estado" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoDetalleZona" runat="server" onclick="lnkNuevoDetalleZona_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarDetalleZona" runat="server" onclick="lnkEliminarDetalleZona_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarDetalleZona" runat="server" onclick="lnkEditarDetalleZona_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Ciudad:</label></td>
                              <td colspan="3" align="left">
                                  <asp:DropDownList ID="ddCiudad" runat="server">
                                  </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="td1">
                              <td align="right"><label for="corg">Municipio:</label></td>
                              <td colspan="3" align="left">
                                  <asp:DropDownList ID="ddMunicipio" runat="server">
                                  </asp:DropDownList>
                                </td>
                            </tr>
                            <tr class="td2">
                              <td align="right"><label for="corg">Estado:</label></td>
                              <td colspan="3" align="left">
                                  <asp:DropDownList ID="ddEstado" runat="server">
                                  </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarDetalleZona" runat="server" onclick="lnkGuardarDetalleZona_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>

                    </td>
                </tr>
            </table>
            </ContentTemplate>
            </asp:UpdatePanel>  
         </div>
     </div>

     <div class="tab_container">
         <div id="tab2" class="tab_content">
            <asp:UpdatePanel ID="UpdatePanel2" runat="server">
            <ContentTemplate>
            <table>
                <tr>
                    <td>

                    <asp:GridView ID="grdDatos3" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="RegionesId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos3_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos3_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="RegionesId" 
                             HeaderText=" No. "
                             SortExpression="RegionesId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripción"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                      
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoRegion" runat="server" onclick="lnkNuevoRegion_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarRegion" runat="server" onclick="lnkEliminarRegion_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarRegion" runat="server" onclick="lnkEditarRegion_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Descripción:</label></td>
                              <td colspan="3" align="left">
                                  <asp:TextBox ID="txtDescripcionRegion" runat="server" Height="23px" Width="348px" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarRegion" runat="server" onclick="lnkGuardarRegion_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>

                    </td>
                </tr>
                <tr>
                    <td>
                      <asp:GridView ID="grdDatos4" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="DetalleRegionesId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos4_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos4_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="DetalleRegionesId" 
                             HeaderText=" No. "
                             SortExpression="DetalleRegionesId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Zona" 
                             HeaderText="Zona"
                             SortExpression="Zona" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoDetalleRegion" runat="server" onclick="lnkNuevoDetalleRegion_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarDetalleRegion" runat="server" onclick="lnkEliminarDetalleRegion_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarDetalleRegion" runat="server" onclick="lnkEditarDetalleRegion_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Zona:</label></td>
                              <td colspan="3" align="left">
                                  <asp:DropDownList ID="ddZona" runat="server">
                                  </asp:DropDownList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarDetalleRegion" runat="server" onclick="lnkGuardarDetalleRegion_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>

                    </td>
                </tr>
            </table>
            </ContentTemplate>
            </asp:UpdatePanel>  
         </div>
     </div>

     <div class="tab_container">
         <div id="tab3" class="tab_content">
            <asp:UpdatePanel ID="UpdatePanel3" runat="server">
            <ContentTemplate>
            <table>
                <tr>
                    <td>

                    <asp:GridView ID="grdDatos5" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="SectoresId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos5_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos5_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="SectoresId" 
                             HeaderText=" No. "
                             SortExpression="SectoresId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripción"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                      
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoSector" runat="server" onclick="lnkNuevoSector_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarSector" runat="server" onclick="lnkEliminarSector_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarSector" runat="server" onclick="lnkEditarSector_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Descripción:</label></td>
                              <td colspan="3" align="left">
                                  <asp:TextBox ID="txtDescripcionSector" runat="server" Height="23px" Width="348px" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarSector" runat="server" onclick="lnkGuardarSector_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>

                    </td>
                </tr>
                <tr>
                    <td>
                      <asp:GridView ID="grdDatos6" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="SubSectoresId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos6_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos6_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="SubSectoresId" 
                             HeaderText=" No. "
                             SortExpression="SubSectoresId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripcion"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Sector" 
                             HeaderText="Sector"
                             SortExpression="Sector" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoSubSector" runat="server" onclick="lnkNuevoSubSector_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarSubSector" runat="server" onclick="lnkEliminarSubSector_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarSubSector" runat="server" onclick="lnkEditarSubSector_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Descripción:</label></td>
                              <td colspan="3" align="left">
                                  <asp:TextBox ID="txtDescripcionSubSector" runat="server" Height="23px" Width="348px" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarSubSector" runat="server" onclick="lnkGuardarSubSector_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>

                    </td>
                </tr>
            </table>
            </ContentTemplate>
            </asp:UpdatePanel>  
         </div>
     </div>

     <div class="tab_container">
         <div id="tab4" class="tab_content">
            <asp:UpdatePanel ID="UpdatePanel4" runat="server">
            <ContentTemplate>
            <table>
                <tr>
                    <td>

                    <asp:GridView ID="grdDatos7" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="TamanosId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos7_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos7_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="TamanosId" 
                             HeaderText=" No. "
                             SortExpression="TamanosId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripción"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                      
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoTamanos" runat="server" onclick="lnkNuevoTamanos_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarTamanos" runat="server" onclick="lnkEliminarTamanos_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarTamanos" runat="server" onclick="lnkEditarTamanos_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Descripción:</label></td>
                              <td colspan="3" align="left">
                                  <asp:TextBox ID="txtDescripcionTamano" runat="server" Height="23px" Width="348px" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarTamanos" runat="server" onclick="lnkGuardarTamanos_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>
                    </td>
                </tr>
            </table>
            </ContentTemplate>
            </asp:UpdatePanel>  
         </div>
     </div>

     <div class="tab_container">
         <div id="tab5" class="tab_content">
            <asp:UpdatePanel ID="UpdatePanel5" runat="server">
            <ContentTemplate>
            <table>
                <tr>
                    <td>

                    <asp:GridView ID="grdDatos8" runat="server"
                            Width="100%" AllowPaging="True" AllowSorting="True" 
                            DataKeyNames="ServiciosId" AutoGenerateColumns="False"
                            GridLines="None" 
                            onselectedindexchanged="grdDatos8_SelectedIndexChanged1" CellPadding="4" 
                            ForeColor="#333333" PageSize="25" 
                            onpageindexchanging="grdDatos8_PageIndexChanging">
                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                      <Columns>   
                            <asp:CommandField  ShowEditButton="false"  ShowDeleteButton="false"   
                                ShowSelectButton="true" SelectText="Ver">
                            <ControlStyle Width="25px" Font-Italic="True" />
                            </asp:CommandField>
                            <asp:BoundField 
                             DataField="ServiciosId" 
                             HeaderText=" No. "
                             SortExpression="ServiciosId" 
                              ControlStyle-Width="10px" >
                            <ControlStyle Width="15px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                            <asp:BoundField 
                             DataField="Descripcion" 
                             HeaderText="Descripción"
                             SortExpression="Descripcion" 
                             ControlStyle-Width="30px" >
                            <ControlStyle Width="40px" />
                            <HeaderStyle Font-Size="XX-Small" HorizontalAlign="Center" 
                                VerticalAlign="Middle" Wrap="False" />
                            </asp:BoundField>
                       </Columns>
                        <EditRowStyle BackColor="#999999" />
                        <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#E9E7E2" />
                        <SortedAscendingHeaderStyle BackColor="#506C8C" />
                        <SortedDescendingCellStyle BackColor="#FFFDF8" />
                        <SortedDescendingHeaderStyle BackColor="#6F8DAE" />
                    </asp:GridView>
                      
                    </td>
                </tr>
                <tr>                    
                    <td> 
                        <asp:LinkButton ID="lnkNuevoServicios" runat="server" onclick="lnkNuevoServicios_Click" 
                            >Nuevo</asp:LinkButton>  | 
                        <asp:LinkButton ID="lnkEliminarServicios" runat="server" onclick="lnkEliminarServicios_Click" 
                            >Eliminar</asp:LinkButton>   | 
                        <asp:LinkButton ID="lnkEditarServicios" runat="server" onclick="lnkEditarServicios_Click" 
                            >Editar</asp:LinkButton></td>

                </tr>
                <tr>
                    <td>

                          <table width="100%" style="width: 600px">

                            <tr class="td2">
                              <td align="right"><label for="corg">Descripción:</label></td>
                              <td colspan="3" align="left">
                                  <asp:TextBox ID="txtDescripcionServicio" runat="server" Height="23px" Width="348px" ReadOnly="True"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton ID="lnkGuardarServicio" runat="server" onclick="lnkGuardarServicio_Click" 
                                        >Guardar</asp:LinkButton>
                                </td>
                            </tr>
                          </table>
                    </td>
                </tr>
            </table>
            </ContentTemplate>
            </asp:UpdatePanel>  
         </div>
     </div>

    </form>
</asp:Content>

